package com.ktgj.flight.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 每个订单的退改签信息对象 flight_order_cabinrule
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightOrderCabinrule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long orderCabinruleId;

    /** 仓位标签 */
    @Excel(name = "仓位标签")
    private String cabinRmk;

    /** 仓位 行李额规则 */
    @Excel(name = "仓位 行李额规则")
    private String cabinBaggage;

    /** 返回参数 */
    @Excel(name = "返回参数")
    private String responseLog;

    /** 起飞后退改签规则（期限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比） */
    @Excel(name = "起飞后退改签规则", readConverterExp = "期=限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比")
    private String dstconditions;

    /** 儿童起飞前退改签规则（期限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比） */
    @Excel(name = "儿童起飞前退改签规则", readConverterExp = "期=限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比")
    private String chdorgconditions;

    /** 0单程,1往返中的去程,2往返中的返程 */
    @Excel(name = "0单程,1往返中的去程,2往返中的返程")
    private String tripType;

    /** 退改签费用不少于XX元 */
    @Excel(name = "退改签费用不少于XX元")
    private BigDecimal notless;

    /** 儿童起飞后退改签规则（期限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比） */
    @Excel(name = "儿童起飞后退改签规则", readConverterExp = "期=限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比")
    private String chddstconditions;

    /** 起飞前退改签规则（期限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比） */
    @Excel(name = "起飞前退改签规则", readConverterExp = "期=限|单位|数值|百分比^期限|单位|数值|百分比~期限|单位|数值|期限|单位|数值|百分比")
    private String orgconditions;

    /** 退改签政策表中的主键（-1代表无法自动计算） */
    @Excel(name = "退改签政策表中的主键", readConverterExp = "-=1代表无法自动计算")
    private Long ruleid;

    /** 对应计算退票费的基数价格(-1代表不自动计算) */
    @Excel(name = "对应计算退票费的基数价格(-1代表不自动计算)")
    private BigDecimal baseamount;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderId;

    public void setOrderCabinruleId(Long orderCabinruleId) 
    {
        this.orderCabinruleId = orderCabinruleId;
    }

    public Long getOrderCabinruleId() 
    {
        return orderCabinruleId;
    }
    public void setCabinRmk(String cabinRmk) 
    {
        this.cabinRmk = cabinRmk;
    }

    public String getCabinRmk() 
    {
        return cabinRmk;
    }
    public void setCabinBaggage(String cabinBaggage) 
    {
        this.cabinBaggage = cabinBaggage;
    }

    public String getCabinBaggage() 
    {
        return cabinBaggage;
    }
    public void setResponseLog(String responseLog) 
    {
        this.responseLog = responseLog;
    }

    public String getResponseLog() 
    {
        return responseLog;
    }
    public void setDstconditions(String dstconditions) 
    {
        this.dstconditions = dstconditions;
    }

    public String getDstconditions() 
    {
        return dstconditions;
    }
    public void setChdorgconditions(String chdorgconditions) 
    {
        this.chdorgconditions = chdorgconditions;
    }

    public String getChdorgconditions() 
    {
        return chdorgconditions;
    }
    public void setTripType(String tripType) 
    {
        this.tripType = tripType;
    }

    public String getTripType() 
    {
        return tripType;
    }
    public void setNotless(BigDecimal notless) 
    {
        this.notless = notless;
    }

    public BigDecimal getNotless() 
    {
        return notless;
    }
    public void setChddstconditions(String chddstconditions) 
    {
        this.chddstconditions = chddstconditions;
    }

    public String getChddstconditions() 
    {
        return chddstconditions;
    }
    public void setOrgconditions(String orgconditions) 
    {
        this.orgconditions = orgconditions;
    }

    public String getOrgconditions() 
    {
        return orgconditions;
    }
    public void setRuleid(Long ruleid) 
    {
        this.ruleid = ruleid;
    }

    public Long getRuleid() 
    {
        return ruleid;
    }
    public void setBaseamount(BigDecimal baseamount) 
    {
        this.baseamount = baseamount;
    }

    public BigDecimal getBaseamount() 
    {
        return baseamount;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderCabinruleId", getOrderCabinruleId())
            .append("cabinRmk", getCabinRmk())
            .append("cabinBaggage", getCabinBaggage())
            .append("responseLog", getResponseLog())
            .append("dstconditions", getDstconditions())
            .append("chdorgconditions", getChdorgconditions())
            .append("tripType", getTripType())
            .append("createTime", getCreateTime())
            .append("notless", getNotless())
            .append("chddstconditions", getChddstconditions())
            .append("orgconditions", getOrgconditions())
            .append("ruleid", getRuleid())
            .append("baseamount", getBaseamount())
            .append("orderId", getOrderId())
            .toString();
    }
}
